FROM java:8
VOLUME /tmp
ADD ./target/hp-gateway-1.0.2-SNAPSHOT.jar hp-gateway.jar
RUN bash -c 'touch /hp-gateway.jar'
EXPOSE 9527
ENTRYPOINT [ "java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/hp-gateway.jar" ]

